﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<MVCms.Core.Models.SystemSetupModel>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Index
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <% using (Html.BeginForm("DoSetup", "Setup", FormMethod.Post, new { ID = "CMSSetup" }))
       {%>
    <%: Html.ValidationSummary(true) %>
    <table class="Container">
        <tr>
            <td class="ContainerHeader">
                Site Details
            </td>
        </tr>
        <tr>
            <td class="ContainerFooter">
                <table>
                    <tr>
                        <td width="200px" style="text-align:right">
                            <%: Html.LabelFor(model => model.PortalName) %>:
                        </td>
                        <td>
                            <%: Html.TextBoxFor(model => model.PortalName)%>
                            <%: Html.ValidationMessageFor(model => model.PortalName)%>
                        </td>
                    </tr>
                    <tr>
                        <td width="200px" style="text-align:right">
                            <%: Html.LabelFor(model => model.AdminUsername) %>:
                        </td>
                        <td>
                            <%: Html.TextBoxFor(model => model.AdminUsername)%>
                            <%: Html.ValidationMessageFor(model => model.AdminUsername)%>
                        </td>
                    </tr>
                    <tr>
                        <td width="200px" style="text-align:right">
                            <%: Html.LabelFor(model => model.AdminPassword) %>:
                        </td>
                        <td>
                            <%: Html.TextBoxFor(model => model.AdminPassword)%>
                            <%: Html.ValidationMessageFor(model => model.AdminPassword)%>
                        </td>
                    </tr>
                    <tr>
                        <td width="200px" style="text-align:right">
                            <%: Html.LabelFor(model => model.AdminEmail) %>:
                        </td>
                        <td>
                            <%: Html.TextBoxFor(model => model.AdminEmail)%>
                            <%: Html.ValidationMessageFor(model => model.AdminEmail)%>
                        </td>
                    </tr>
                    <tr>
                        <td colspan="2">
                            <input type="submit" value="Setup" />
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
    </table>

    
    <% } %>
</asp:Content>
